package coins;

//~--- non-JDK imports --------------------------------------------------------

import com.dukascopy.api.IAccount;
import com.dukascopy.api.IChart;
import com.dukascopy.api.IConsole;
import com.dukascopy.api.IContext;
import com.dukascopy.api.IEngine;
import com.dukascopy.api.IHistory;
import com.dukascopy.api.IIndicators;
import com.dukascopy.api.IUserInterface;
import com.dukascopy.api.Instrument;

//~--- JDK imports ------------------------------------------------------------

import java.io.File;

import java.util.Set;
import java.util.concurrent.Callable;
import java.util.concurrent.Future;

public class Context implements IContext {
    private IConsole console = new Console();
    private IEngine  engine;

    public Context(IEngine engine) {
        this.engine = engine;
    }

    @Override
    public <T> Future<T> executeTask(Callable<T> callable) {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public IAccount getAccount() {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public IChart getChart(Instrument instrument) {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public Set<IChart> getCharts(Instrument instrument) {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public IConsole getConsole() {
        return console;
    }

    @Override
    public IEngine getEngine() {
        return engine;
    }

    @Override
    public File getFilesDir() {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public IHistory getHistory() {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public IIndicators getIndicators() {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public Set<Instrument> getSubscribedInstruments() {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public IUserInterface getUserInterface() {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public boolean isFullAccessGranted() {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public boolean isStopped() {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public void pause() {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public void setSubscribedInstruments(Set<Instrument> instruments) {
        throw new RuntimeException("Not implemented");
    }

    @Override
    public void stop() {
        throw new RuntimeException("Not implemented");
    }
}


//~ Formatted by Jindent --- http://www.jindent.com
